﻿using UnityEngine;
using System;

namespace MYSTARFORCE
{
    /// <summary>
    /// 粒子特效数据
    /// </summary>
    [Serializable]
    public class EffectData : EntityData
    {
        /// <summary>
        /// 显示时间
        /// </summary>
        [SerializeField]
        private float m_KeepTime = 0;
        public EffectData(int entityId,int typeId) : base(entityId, typeId)
        {
            // 显示3秒
            m_KeepTime = 3f;
        }

        public float KeepTime
        {
            get
            {
                return m_KeepTime;
            }
        }
    }
}